package org.example.user.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("test")
public class TestController {
    @RequestMapping("t1")

    public String t1() {
        return "121";
    }
    @RequestMapping("top1")
    public void top1(){
        System.out.println("法拉利");
    }
    @RequestMapping("t2")
    public String t2() {
        return "333";
    }
    @RequestMapping("t3")
    public void t3() {
        System.out.println("yyc");
    }

    @RequestMapping("t4")
    public  void t4() {
        System.out.println("life");
    }
}
